package com.emar.adx.yiqifa.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import java.util.Locale;

/**
 * Created by xiaoliang on 2017/3/19.
 * ace test
 */
@Controller
@RequestMapping(value = "/ace-test")
public class AceTestController {

    @RequestMapping(value = "/index", method = {RequestMethod.GET, RequestMethod.HEAD})
    public String index(Locale locale, Model model, HttpServletRequest request){
        return "/ace-test/index";
    }
}
